package com.question.business.menu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.question.business.menu.entity.MenuInterface;
import com.question.business.menu.model.ao.MenuInterfaceAO;
import com.question.business.menu.model.vo.MenuInterfaceVO;

import java.util.List;

/**
 * 菜单接口服务
 *
 * @author star
 * @since 2023-09-11
 */
public interface IMenuInterfaceService extends IService<MenuInterface> {

    /**
     * 菜单接口查询
     *
     * @param menuId 菜单ID
     * @return List<MenuInterfaceVO> 响应参数
     */
    List<MenuInterfaceVO> queryMenuInterfaceList(String menuId);

    /**
     * 菜单接口新增数据
     *
     * @param menuId     菜单ID
     * @param interfaces 菜单接口集合
     */
    void addMenuInterface(String menuId, List<MenuInterfaceAO> interfaces);

}